package com.cn.xiaonuo.slbfinances.shopassets.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("sl_shop_wallet_log")
public class SlShopWalletLog implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 订单ID
     */
    private Integer oderId;

    /**
     * 变化前余额
     */
    private BigDecimal beforeChangeBalance;

    /**
     * 变化后余额
     */
    private BigDecimal afterChangeBalance;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 类型:1充值2体现
     */
    private Integer types;

    /**
     * 操作人
     */
    private Integer operation;

}
